package org.jeecg.modules.scm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.EnableDict;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: scm_investor
 * @Author: jeecg-boot
 * @Date: 2021-10-21
 * @Version: V1.0
 */
@Data
@TableName("scm_investor")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "资金方表实体类对象", description = "scm_investor")
public class ScmInvestor implements Serializable, EnableDict {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Excel(name = "ID", width = 15)
    @ApiModelProperty(value = "ID")
    @TableId(type = IdType.AUTO)
    private Integer investorId;
    /**
     * 人行行号
     */
    @Excel(name = "人行行号", width = 15)
    @ApiModelProperty(value = "人行行号")
    private Integer bankNo;
	/**资金方全称*/
	@Excel(name = "资金方全称", width = 15)
    @ApiModelProperty(value = "资金方全称")
    private String fullName;
	/**资金方简称*/
	@Excel(name = "资金方简称", width = 15)
    @ApiModelProperty(value = "资金方简称")
    private String abbrName;
	/**	概述*/
	@Excel(name = "	概述", width = 15)
    @ApiModelProperty(value = "	概述")
    private String overview;
    /**
     * 资金方类型,1、银行 2、保理商3、债券商
     */
    @Excel(name = "资金方类型,1、银行 2、保理商3、债券商", width = 15)
    @ApiModelProperty(value = "资金方类型,1、银行 2、保理商3、债券商")
    @Dict(dicCode = "investor_type")
    private Integer type;
    /**
     * 状态 0-正常；1-注销
     */
    @Excel(name = "状态 0-正常；1-注销", width = 15)
    @ApiModelProperty(value = "状态 0-正常；1-注销")
    @Dict(dicCode = "investor_status")
    private Integer state;
    /**
     * 创建人
     */
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 创建机构
     */
    @Excel(name = "创建机构", width = 15)
    @ApiModelProperty(value = "创建机构")
    private java.lang.String createOrg;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;

    /**
     * 修改时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
    /**
     * 修改人
     */
    @Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
    private String updateBy;
    /**
     * 修改机构
     */
    @Excel(name = "修改机构", width = 15)
    @ApiModelProperty(value = "修改机构")
    private String updateOrg;

    @ApiModelProperty(value = "附件")
    private java.lang.String accessory;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
}
